package com.example.mam.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * 
 * @author wcyong
 * 
 * @date 2018-03-24
 */
public class Master  implements Serializable{
    /**
     * 自增主键id
     */
    private Long id;

    /**
     * 账号
     */
    private Long login;

    /**
     * 姓名
     */
    private String name;

    /**
     * 初始资金
     */
    private Double initialFunds;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     *  更新时间
     */
    private Date updateTime;

    /**
     * 创建人
     */
    private Long createManagerId;

    /**
     *  投资者最小资金金额
     */
    private Double investorInitialFunds;

    /**
     * 投资者每次最小出金
     */
    private Double investorMinOutGold;

    /**
     * 投资者每次最小入金
     */
    private Double investorMinIntoGold;

    /**
     * 预付款折扣
     */
    private Double advancePaymentDiscount;

    /**
     * 管理费账号
     */
    private Long mfLogin;

    /**
     * 盈利费账号
     */
    private Long pfLogin;

    /**
     * 管理费用
     */
    private Double mfCost;

    /**
     * 盈利费用
     */
    private Double pfCost;

    /**
     * Book类型
     */
    private String type;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getLogin() {
        return login;
    }

    public void setLogin(Long login) {
        this.login = login;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Double getInitialFunds() {
        return initialFunds;
    }

    public void setInitialFunds(Double initialFunds) {
        this.initialFunds = initialFunds;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Long getCreateManagerId() {
        return createManagerId;
    }

    public void setCreateManagerId(Long createManagerId) {
        this.createManagerId = createManagerId;
    }

    public Double getInvestorInitialFunds() {
        return investorInitialFunds;
    }

    public void setInvestorInitialFunds(Double investorInitialFunds) {
        this.investorInitialFunds = investorInitialFunds;
    }

    public Double getInvestorMinOutGold() {
        return investorMinOutGold;
    }

    public void setInvestorMinOutGold(Double investorMinOutGold) {
        this.investorMinOutGold = investorMinOutGold;
    }

    public Double getInvestorMinIntoGold() {
        return investorMinIntoGold;
    }

    public void setInvestorMinIntoGold(Double investorMinIntoGold) {
        this.investorMinIntoGold = investorMinIntoGold;
    }

    public Double getAdvancePaymentDiscount() {
        return advancePaymentDiscount;
    }

    public void setAdvancePaymentDiscount(Double advancePaymentDiscount) {
        this.advancePaymentDiscount = advancePaymentDiscount;
    }

    public Long getMfLogin() {
        return mfLogin;
    }

    public void setMfLogin(Long mfLogin) {
        this.mfLogin = mfLogin;
    }

    public Long getPfLogin() {
        return pfLogin;
    }

    public void setPfLogin(Long pfLogin) {
        this.pfLogin = pfLogin;
    }

    public Double getMfCost() {
        return mfCost;
    }

    public void setMfCost(Double mfCost) {
        this.mfCost = mfCost;
    }

    public Double getPfCost() {
        return pfCost;
    }

    public void setPfCost(Double pfCost) {
        this.pfCost = pfCost;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }
}